<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <div>
        <h2>表单的提交get请求</h2>
        <!-- get方式提交数据  会把参数拼接在 url 后面  -->
        <form action="../php/get.php" method="GET" >
            <div>
                <label for="">用户名</label>
                <input type="text" name="username" >
            </div>
            <div>
                <label for="">密码</label>
                <input type="text" name="pass" >
            </div>
            <div>
                <button type="submit">提交数据</button>
            </div>
        </form>
    </div>
</body>
</html>